<%include ../inc/header.ejs%>
<style>
    /*#panel-dict .datagrid .panel-body .datagrid-view .datagrid-view2 .datagrid-header td,*/
    /*#panel-dict .datagrid .panel-body .datagrid-view .datagrid-view2 .datagrid-body td,*/
    /*#panel-dict .datagrid .panel-body .datagrid-view .datagrid-view2 .datagrid-footer td{padding: 0px !important; height: 31px; font-size: 16px;}*/

</style>
<div>
    <div style="width:30%;height:100%;display: inline;float: left;">
        <div class="easyui-panel" title="系统模块"
             style="width:100%;height:100%;display: inline;float: left;"
             data-options="tools:'#module-btn'">
            <table id="table-module" class="data-table"></table>
        </div>
        <div id="module-btn">
            <a href="javascript:void(0)" class="icon-add icon16" onclick="opt.module.add(this);"></a>
            <a href="javascript:void(0)" class="icon-application_form_edit icon16" onclick="opt.module.edit(this);"></a>
            <a href="javascript:void(0)" class="icon-cancel icon16" onclick="opt.module.delete(this);"></a>
        </div>
    </div>
    <div style="width:70%;height:100%;display: inline;float: left;">
        <div class="easyui-panel" title="权限菜单数据"
             data-options="tools:'#menu-btn'" id="panel-dict"
             style="width:100%;height:100%;display: inline;float: left;">
            <table id="table-menu" class="easyui-treegrid"></table>
        </div>
        <div id="menu-btn">

            <a href="javascript:void(0)" title="配置权限按钮"
               class="icon-key_go icon16 easyui-tooltip" onclick="opt.auth(this);"></a>
            <a href="javascript:void(0)" class="icon-add icon16" onclick="opt.add(this);"></a>
            <a href="javascript:void(0)" class="icon-application_form_edit icon16" onclick="opt.edit(this);"></a>
            <a href="javascript:void(0)" class="icon-cancel icon16" onclick="opt.delete(this);"></a>
        </div>
    </div>
</div>

<%include ../inc/js.ejs%>
<script src="/sys/menu.js"></script>

<%include _form/menu.ejs%>
<%include _form/module.ejs%>
<%include _form/icon.ejs%>
<%include _form/auth-btn.ejs%>
<%include _form/menu-btn-api.ejs%>
<%include ../inc/dot-template.ejs%>
<%include ../inc/footer.ejs%>